PKG_NAME = wallabag
PKG_VERS = 2.6.14
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/wallabag/$(PKG_NAME)/releases/download/$(PKG_VERS)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS =

HOMEPAGE = https://www.wallabag.org/
COMMENT  = Wallabag is a self hostable application allowing you to save an offline copy of your favorite articles. Click, save, read it when you can. It extracts content so that you can read it when you have time.
LICENSE  = MIT

INSTALL_TARGET = wallabag_install

include ../../mk/spksrc.install-resources.mk

.PHONY: wallabag_install
wallabag_install:
	install -m 755 -d $(STAGING_INSTALL_PREFIX)/share/wallabag
	tar -cf - -C $(WORK_DIR)/$(PKG_DIR) . | tar -xf - -C $(STAGING_INSTALL_PREFIX)/share/wallabag
